def userLogin(username,passwd):
    if(username == 'zhangsan' and passwd == '888'):
       return True 
    else:
       return False
    

username = "zhangsan";
passwd = "88";

if(userLogin(username,passwd)):
   print("login successed");
else:
   print("login fail");
        